<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script>
		
		for (var i = 1; i <= 20;i++) {

			for (var j = 1; j <= 20-i; j++) {
				document.write("<span>*</span>");
			}

			for (var k = 1; k <= (i*2-1); k++) {
				document.write("*");
			}

			document.write("<br>")
		}

	</script>
	<style>
		span{
			color: #fff;
			/*display: none;*/
		}
	</style>
</head>
<body>
	
</body>
</html>